* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

/*隐藏滚轮*/
.useRanking::-webkit-scrollbar {
    display: none;
}
.collectionWords::-webkit-scrollbar {
    display: none;
}
body {
    height: 100vh;
    background-image: url("../images/homebj.jpg");
    background-size: 100% 100%;

}
nav {
    box-sizing: border-box;
    padding-top: 30px;
    padding-bottom: 10px;
}
.box {
    margin: 20px;
    box-sizing: border-box;
    border-radius: 15px;
    background-color: rgba(0.2,0.1,0.1,0.1);
}
.nav {
    box-sizing: border-box;
    width: 600px;
    margin: 0px auto 0px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    border-radius: 15px;
    background-color: rgba(0.2,0.1,0.1,0.1);
}
.user {
    width: 220px;
    height: 160px;
    margin: auto 20px;
    padding: 10px 20px;
    border-radius: 15px;
    box-sizing: border-box;
    background-color: rgba(0.2,0.1,0.1,0.1);
}
.user > div {
    display: inline-block;
    /*box-sizing: border-box;*/
    vertical-align: middle;
    height: 30px;
    line-height: 30px;
    margin-top: 8px;
    margin-bottom: 8px;
}
.user > div img {
    display: inline-block;
    vertical-align: middle;
    margin: auto 0px;
    margin-right: 3px;
    width: 30px;
    height: 30px;
}
.menu {
    display: flex;
    width: 600px;
    height: 200px;
    background-color: rgba(0.2,0.1,0.1,0.1);
    margin: 20px auto;
    border-radius: 15px;
}
.progress_bar {
    margin: auto 20px;
    float: right;
    width: 126px;
    height: 146px;
    text-align: center;
    font-size: 14px;
}
.mode {
    width: 130px;
    height: 80px;
    margin: 40px 20px;
}
.showWord {
    width: 350px;
    height: 80px;
    margin: 0 auto;
    padding: 10px 10px;
    border-radius: 15px;
    box-sizing: border-box;
    background-color: rgba(0.2,0.1,0.1,0.1);
}
.form-control {
    border-radius: 5px;
    position: relative;
    margin: 25px auto 10px;
    width: 400px;
    height: 60px;
    background-color: rgba(0.2,0.1,0.1,0.1);
}

.form-control input {
    box-sizing: border-box;
    background-color: transparent;
    border: 0;
    border-bottom: 2px #fff solid;
    display: block;
    width: 100%;
    height: 60px;
    padding: 15px 20px;
    font-size: 20px;
    /*color: #fff;*/
}

.form-control input:focus,
.form-control input:valid {
    outline: 0;
    border-bottom-color: black;
}

.form-control label {
    position: absolute;
    top: 15px;
    left: 20px;
    pointer-events: none;
}

.form-control label span {
    display: inline-block;
    font-size: 18px;
    min-width: 5px;
    color: white;
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-control input:focus+label span,
.form-control input:valid+label span {
    color: black;
    transform: translateY(-40px);
}
.container form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.container label {
    display: flex;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.375em;
}

.container  label input {
    position: absolute;
    left: -9999px;
}

.container label input:checked + span {
    background-color: rgb(128,128,128);
    color: white;
}

.container label input:checked + span:before {
    box-shadow: inset 0 0 0 0.4375em rgb(128,128,128);
}

.container label span {
    display: flex;
    align-items: center;
    padding: 0.375em 0.75em 0.375em 0.375em;
    border-radius: 99em;
    transition: 0.25s ease;
    color: black;
}

.container label span:hover {
    background-color: #d6d6e5;
}

.container label span:before {
    display: flex;
    flex-shrink: 0;
    content: "";
    background-color: #fff;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    margin-right: 0.375em;
    transition: 0.25s ease;
    box-shadow: inset 0 0 0 0.225em rgb(128,128,128);
}

.tips div {
    height: 30px;
    line-height: 30px;
    margin-bottom: 5px;
    padding: 5px 20px;
    border-radius: 5px;
    background-color: rgba(0.2,0.1,0.1,0.1);
}
.rank {
    margin-bottom: 5px;
    padding: 5px 20px;
    border-radius: 5px;
    background-color: rgba(0.2,0.1,0.1,0.1);
}